package com.sanley.piss.mapper;


import com.sanley.piss.model.BaseMapper;
import com.sanley.piss.model.po.Archives;
import com.sanley.piss.model.vo.ArchivesVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 档案 持久层接口
 * @author 张凯大天才
 */
@Mapper

public interface ArchivesMapper extends BaseMapper<Archives> {
    /**
     * 查询所有用户信息
     * @return
     */
    List<ArchivesVO> selectAll();

    @Override
    ArchivesVO selectById(Integer id);

    void batchInsert(@Param("lists") List<Archives> lists);

    void updateSeniority(@Param("id") Integer id);
}